package com.ojoin.ojoin.eb_spider.domain;

import java.util.HashMap;
import java.util.Map;

import com.ojoin.trade.supplyloan_core.web.domain.CatchDataResultMessage;
import com.ojoin.trade.supplyloan_core.web.domain.CatchDataStartMessage;

/**
 * 抓取数据辅助类
 * @author Administrator
 *
 */

public class AssistCatchData {

	public AssistCatchData(CatchDataStartMessage startMess){
		this.startMess = startMess;
	}
	// 是否登录成功
	private boolean flag = false;
	/**
	 * 数据抓取返回结果集合
	 */

	private CatchDataResultMessage cata = new CatchDataResultMessage();

	private String downloadDir;
	
	private CatchDataStartMessage startMess;

	private Map<String, Object> context = new HashMap<String, Object>();

	public CatchDataResultMessage getCata() {
		return cata;
	}

	public void setCata(CatchDataResultMessage cata) {
		this.cata = cata;
	}

	public String getDownloadDir() {
		return downloadDir;
	}

	public void setDownloadDir(String downloadDir) {
		this.downloadDir = downloadDir;
	}

	public CatchDataStartMessage getStartMess() {
		return startMess;
	}

	public void setStartMess(CatchDataStartMessage startMess) {
		this.startMess = startMess;
	}

	public Map<String, Object> getContext() {
		return context;
	}

	public void setContext(Map<String, Object> context) {
		this.context = context;
	}

	public boolean isFlag() {
		return flag;
	}

	public void setFlag(boolean flag) {
		this.flag = flag;
	}
	
	
	
	
	
}
